<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MAIL->Name()</title>
<style>
body, pre {
	font-family: Verdana;
	font-size: 10pt;
}
a {	color: blue; text-decoration: none }
a:hover { text-decoration: underline }
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<pre>
<hr color="white">
MAIL -> <i>boolean</i> <b>name</b> ( <i>string</i> host )
<hr>
Return TRUE if has been successfully set, FALSE if not.

Set hostname (can be IPv4 address) used in EHLO/HELO SMTP conversation.

Example (verification):
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$m = new MAIL;

// set hostname
$m->Name('localhost');

// send mail to MX zone
$m->Send('client');
</code></pre>
</td></tr>
</table>

Example (deprecated):
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
$m = new MAIL;

$m->Name = 'localhost';
</code></pre>
</td></tr>
</table>

<hr color="white">

See Also: <a href="connect.html">MAIL->Connect()</a>

[ <a href="mail&#116;&#111;:contact&#064;xpertmailer.com?subject=Comment MAIL Name">Comments</a> ]

Last update: Sunday, June 17, 2007

<hr>
</pre>

</body>
</html>